package br.com.pd.invocation;

import java.util.List;

import br.com.pd.app.server.ConsumerIF;
import br.com.pd.messaging.RequestHandleIF;
import br.com.pd.messaging.ConsumerRequestHandle;
import br.com.pd.messaging.Listener;
import br.com.pd.messaging.MessageFactory;
import br.com.pd.messaging.MessageIF;
import br.com.pd.messaging.Subject;


public class ConsumerRequestor extends AbstractRequestor implements ConsumerIF, Subject, Listener {
	
	

	public ConsumerRequestor(String location, int port) {
		super(location, port);
	}

	@Override
	public MessageIF createMessage(List<Object> list) {
		return MessageFactory.createSubscribeMessage();
	}

	@Override
	public RequestHandleIF createRequestHandle() {
		return new ConsumerRequestHandle();
	}

	
	
	

	
	


}
